GdkKeymap: Prevent an infinite loop in the non-XKB case
authorMatthias Clasen <mclasen@redhat.com>
Thu, 30 Jun 2011 18:45:16 +0000 (14:45 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 30 Jun 2011 18:45:16 +0000 (14:45 -0400)
Somehow the increment got lost, as comparison with the 2.x code
shows.

gdk/x11/gdkkeys-x11.c

index da227f35f8a9cee21f22212ffbabdf5401f83ee6..253bbedff268e7b82ce6adea7e5ad99774af8f01 100644 (file)
@@ -881,6 +881,8 @@ gdk_x11_keymap_get_entries_for_keyval (GdkKeymap     *keymap,
 
               ++i;
             }
+
+          ++keycode;
         }
     }